home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-26 | 1.3 KB | 44 lines | [TEXT/ScoM] |
- ; tutorial example 7 - mctest7
-
- (initdef)
- (defsym a '(b c a))
- (defsym b '(f e))
- (defsym c '(b a))
- (defsym d '(a g))
-
- (def-symbol
- test1 (gen-trans a 4)
- test2 (gen-trans d 4)
- test3 (gen-trans c 4)
- test4 (gen-trans d 4)
- test5 (symbol-mix
- (gen-notrans a 2) (gen-notrans b 2)
- (gen-notrans c 2) (gen-notrans d 2))
- )
-
- (def-length
- test1 '(1/16 1/16 1/8 1/16)
- test2 '(-1/16 1/8. 1/16 1/4)
- test3 '(1/4 1/8 -1/8 1/16 1/32 1/32 1/8)
- test4 '(1/8 1/16 -1/16 1/4 1/8 1/16 1/16)
- test5 '(1/2 1/16 1/8 1/16)
- )
-
- (setq tonals (activate-tonality (whole-tone c 5) (chromatic c 6)))
- (setq tonals1 (activate-tonality (chromatic c 6) (whole-tone c 5)))
- (setq chords
- (activate-tonality (c aug 7 1 4) (f# aug 9 1 3) (e min maj7 1 3)))
-
- (compile-song-p "ccl;output:" 1/8 "part7"
- ; BARS |-------|-------|-------|-------|
- changes tonals " . . . . ."
- changes2 tonals1 " . . . . . . . ."
- changes3 chords " . . . .. . . . .. "
- test1 changes "-- ----- --- --- ----- --"
- test2 changes2 " --- --- -- - --- --- --- --"
- test3 changes2 " ---- --- - - -- --- -- -"
- test4 changes " ----- - - - -- - - - - -"
- test5 changes3 " - ------- --- -- --- ---- -"
- )
-
-